<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>验证标签框 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="../../idx.js"></script>
</head>
<body>
	<h2 title="Validate TagBox">标签框的验证</h2>
	<p title="This example shows how to validate the tagbox values.">　　本例展示如何验证标签框的值。<i>要求：① 2~10字（UTF8单字算2个）；② 唯一（字母大小写不敏感）。</i></p>
	<div class="easyui-panel" style="width:100%;max-width:400px;padding:10px 20px 20px 20px;">
		<input class="easyui-tagbox" value="Apple,Orange" label="<h onclick='alert(title)' title='要求：&#13;① 2~10字（UTF8单字算2个）；&#13;② 唯一（字母大小写不敏感）。'>添标签*：</h>" style="width:100%" data-options="validType:['length[2,10]','Utag']">
	</div>
</body>
</html>